<?php 
/*
 module:		小程序设置验证器
 create_time:	2022-03-03 18:31:54
 author:		
 contact:		
*/

namespace app\backend\validate;
use think\validate;

class SysSite extends validate {


	protected $rule = [
		'app_id'=>['require'],
		'app_secret'=>['require']
	];

	protected $message = [
		'app_id.require'=>'小程序appid不能为空',
		'app_secret.require'=>'小程序appSecret不能为空'
	];

	protected $scene  = [
		'add'=>['app_id','app_secret'],
		'update'=>['app_id','app_secret'],
	];



}

